package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.PointsExchangeCollectionConsumeTypeEnum;
import com.sc.nft.enums.PointsExchangeCollectionStatusEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PointsApplyExchangeRecordsPageReq extends PageRequest {
    @ApiModelProperty("品牌id")
    private Long daoId;
    @ApiModelProperty("藏品id")
    private Long collectionId;
    @ApiModelProperty("审核状态 AUDITING 0 审核中 ,PASS 1 已通过 ,REFUSE 2 已拒绝 ,REVOKED 3 已撤销")
    private PointsExchangeCollectionStatusEnum applyStatus;

    @ApiModelProperty("开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("消耗类型")
    private PointsExchangeCollectionConsumeTypeEnum consumeType = PointsExchangeCollectionConsumeTypeEnum.POINTS;
}
